package com.dropdb.demo.bean;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;
@Data
public class AdminGoodsPOJO {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer[] categoryIds;
    @Valid
    private Goods goods;
    private List<GoodsSpecification> specifications;
    @Valid
    private List<GoodsProduct> products;
    private List<GoodsAttribute> attributes;

}
